package core.manager.popupManager
{
    import flash.events.*;

    public class CustomPopupManagerProxy extends EventDispatcher
    {
        private static var _instance:CustomPopupManagerProxy;
        public var customPopupManager:ICustomPopupManager;
        public function CustomPopupManagerProxy()
        {
            if (_instance == null)
            {
                _instance = this;
            }
            else
            {
                throw new Error("CustomPopupManagerProxy不能被实例化");
            }
            return;
        }// end function

        public static function getInstance() : CustomPopupManagerProxy
        {
            if (_instance == null)
            {
                return new CustomPopupManagerProxy;
            }
            return _instance;
        }// end function
    }
}
